package wzc.design_pattern.construction.adapter.object_adapter;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description 适配器（Adapter）:通过组合方式适配 Adaptee
 */

public class Adapter implements Target {

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        adaptee.specificRequest();
    }
}
